package com.jrx.anytxn.param.mapper.ext;

import com.jrx.anytxn.param.entity.TlBatchAdjustLimit;
import com.jrx.anytxn.param.mapper.base.TlBatchAdjustLimitMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ExtTlBatchAdjustLimitMapper extends TlBatchAdjustLimitMapper {

    List<TlBatchAdjustLimit> selectByHandleStatusForBatch(@Param(value = "handleStatus")String handleStatus);

    void batchInsert(List<TlBatchAdjustLimit> tlBatchAdjustLimitList);

    void batchUpdate(List<TlBatchAdjustLimit> tlBatchAdjustLimitList);

    List<TlBatchAdjustLimit> selectByTenantId(@Param(value = "tenantId")String tenantId);

    TlBatchAdjustLimit selectByBatchIdAndTenantId(@Param(value = "tenantId")String tenantId,
                                                  @Param(value = "batchId")String batchId);


}
